// 清理localStorage中的所有数据，确保重新初始化
localStorage.clear();
console.log('All localStorage data cleared successfully!');